package _998YeWuDaiBiao;

import _998YeWuDaiBiao.impl.EJBService;
import _998YeWuDaiBiao.impl.JMSService;

/**
 * @BusinessLookUp: 业务查询服务
 * @author: ZBoHang
 * @time: 2021/9/18 9:45
 */
public class BusinessLookUp {
    public BusinessService getBusinessService(String serviceType) {
        if ("EJB".equalsIgnoreCase(serviceType)) {
            return new EJBService();
        }
        return new JMSService();
    }
}
